<?php
	$session = new Zend_Session_Namespace('ttf.auth');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Thực phẩm Thủy Thảo - Trang quản trị</title>
	<meta name="description" content="" />
    <meta name="keywords" content="" />
    <meta name="robots" content="index,follow" />
	
    <link rel="stylesheet" type="text/css" media="all" href="/css/style.css" />
	<link rel="Stylesheet" type="text/css" href="/css/smoothness/jquery-ui-1.7.1.custom.css"  />	
	<!--[if IE 7]><link rel="stylesheet" href="/css/ie.css" type="text/css" media="screen, projection" /><![endif]-->
	<!--[if IE 6]><link rel="stylesheet" href="/css/ie6.css" type="text/css" media="screen, projection" /><![endif]-->
	<link rel="stylesheet" type="text/css" href="/markitup/skins/markitup/style.css" />
	<link rel="stylesheet" type="text/css" href="/markitup/sets/default/style.css" />
	<link rel="stylesheet" type="text/css" href="/css/superfish.css" media="screen" />
	<!--[if IE]>
		<style type="text/css">
		  .clearfix {
		    zoom: 1;     /* triggers hasLayout */
		    display: block;     /* resets display for IE/Win */
		    }  /* Only IE can see inside the conditional comment
		    and read this CSS rule. Don't ever use a normal HTML
		    comment inside the CC or it will close prematurely. */
		</style>
	<![endif]-->
	<!-- JavaScript -->
    <script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="/js/jquery-ui-1.7.1.custom.min.js"></script>
	<script type="text/javascript" src="/js/hoverIntent.js"></script>
	<script type="text/javascript" src="/js/superfish.js"></script>	
	<script type="text/javascript">
		// initialise plugins
		jQuery(function(){
			jQuery('ul.sf-menu').superfish();
		});

	</script>
	<script type="text/javascript" src="/js/excanvas.pack.js"></script>
	<script type="text/javascript" src="/js/jquery.flot.pack.js"></script>
    <script type="text/javascript" src="/markitup/jquery.markitup.pack.js"></script>
	<script type="text/javascript" src="/markitup/sets/default/set.js"></script>
  	<script type="text/javascript" src="/js/custom.js"></script>
  	<?php
  		if ($this->ckeditor) {
  			echo $this->headScript()->appendFile($this->baseUrl() . '/js/ckeditor/ckeditor.js');
  		} 
  	?>

	 <!--[if IE]><script language="javascript" type="text/javascript" src="excanvas.pack.js"></script><![endif]-->
</head>
<body>
<div class="container" id="container">
    <div  id="header">
    	<div id="profile_info">
			<img src="/images/avatar.jpg" id="avatar" alt="avatar" />
			<p>Xin chào <strong><?php echo $session->username; ?></strong> !. <a href="<?php echo $this->url(array(), 'logout');?>">Đăng xuất?</a></p>
			<p>System messages: 3. <a href="#">Read?</a></p>
			<p class="last_login">Đăng nhập lúc: <?php echo $session->logintime;?></p>
		</div>
		<div id="logo"><h1><a href="/admin">Thực phẩm Thủy Thảo - Trang quản trị</a></h1></div>
		
    </div><!-- end header -->
	    <div id="content" >
		    <div id="top_menu" class="clearfix">
		    	<ul class="sf-menu"> <!-- DROPDOWN MENU -->					
					<li>
						<a href="#">Quản lý bài viết</a>
						<ul>
							<li><a href="<?php echo $this->url(array(), 'admin-gioi-thieu');?>">Giới thiệu</a></li>
						</ul>
					</li>
					<li>
						<a href="#" >Quản lý sản phẩm</a>
						<ul>
							<li>
								<a href="<?php echo $this->url(array(), 'admin-category');?>" >Danh mục</a>
								<a href="<?php echo $this->url(array(), 'admin-product');?>" >Sản phẩm</a>
							</li>
						</ul>
					</li>
				</ul>
				<a href="/" id="visit" class="right">Visit site</a>
		    </div>
			<div id="content_main" class="clearfix">
				<?php echo $this->layout()->content;?>
			</div><!-- end #content_main -->
	    </div><!-- end #content -->
		   
    <div  id="footer" class="clearfix">
    	<p class="left">AdminTheme - Ultimate Admin Panel Solution</p>
		<p class="right">© 2009 AdminTheme by rzepak, via Themeforest</p>
	</div><!-- end #footer -->
</div><!-- end container -->

</body>
</html>
